<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>virtualbox</Name>
        <Homepage>http://www.virtualbox.org/</Homepage>
        <Packager>
            <Name>Serdar Soytetir</Name>
            <Email>kaptan@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:gui</IsA>
        <Summary>A powerful virtualization program</Summary>
        <Description>VirtualBox is a family of powerful x86 virtualization products for enterprise as well as home use. This is the Open Source Edition which lacks USB support and some other things.</Description>
        <Archive sha1sum="d523d30d36cc4a4456eb7ab50f33a58a3f87c022" type="tarbz2">http://download.virtualbox.org/virtualbox/5.2.2/VirtualBox-5.2.2.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>dev86</Dependency>
            <Dependency>cdrkit</Dependency>
            <Dependency>acpica</Dependency>
            <Dependency>mesa-devel</Dependency>
            <Dependency>curl-devel</Dependency>
            <Dependency>python-devel</Dependency>
            <Dependency>pam-devel</Dependency>
            <Dependency>device-mapper-devel</Dependency>
            <Dependency>libcap-devel</Dependency>
            <Dependency>gsoap-devel</Dependency>
            <Dependency>libXt-devel</Dependency>
            <Dependency>libXmu-devel</Dependency>
            <Dependency>libIDL-devel</Dependency>
            <Dependency>libsdl-devel</Dependency>
            <Dependency>libvpx-devel</Dependency>
            <Dependency>libXext-devel</Dependency>
            <Dependency>libxslt-devel</Dependency>
            <Dependency>mesa-glu-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>libXfixes-devel</Dependency>
            <Dependency>libXrandr-devel</Dependency>
            <Dependency>libXdamage-devel</Dependency>
            <Dependency>libXcursor-devel</Dependency>
            <Dependency>libXinerama-devel</Dependency>
            <Dependency>xorg-server-devel</Dependency>
            <Dependency>libvncserver-devel</Dependency>
            <Dependency>libXcomposite-devel</Dependency>
            <Dependency>pulseaudio-libs-devel</Dependency>
            <Dependency>kernel-module-headers</Dependency>
            <Dependency>qt5-x11extras-devel</Dependency>
            <Dependency>jdk7-openjdk</Dependency>
            <Dependency>jre7-openjdk</Dependency>
            <Dependency>libxcb-devel</Dependency>
            <Dependency>qt5-base-devel</Dependency>
            <Dependency>qt5-linguist</Dependency>
            <Dependency>docbook-xml</Dependency>
        </BuildDependencies>
        <AdditionalFiles>
            <AdditionalFile target="LocalConfig.kmk">LocalConfig.kmk</AdditionalFile>
        </AdditionalFiles>
        <Patches>
            <Patch level="1">wrapper.patch</Patch>
            <Patch level="1">002-dri-driver-path.patch</Patch>
            <Patch level="1">003-ogl-include-new.patch</Patch>
            <Patch level="1">008-root-window.patch</Patch>
<!--             <Patch level="1">004-xorg.patch</Patch> -->
            <Patch level="1">python.patch</Patch>
<!--             <Patch level="1">new-xorg-1.19.patch</Patch> -->
<!--             <Patch level="1">VirtualBox-5.1.14-linux-4.9-buildfix.patch</Patch> -->
        </Patches>
    </Source>

    <Package>
        <Name>virtualbox</Name>
        <RuntimeDependencies>
            <Dependency>qt5-base</Dependency>
            <Dependency>libxcb</Dependency>
            <Dependency>mesa</Dependency>
            <Dependency>libXt</Dependency>
            <Dependency>gsoap</Dependency>
            <Dependency>libvpx</Dependency>
            <Dependency>libXmu</Dependency>
            <Dependency>libsdl</Dependency>
            <Dependency>libXext</Dependency>
            <Dependency>libXcursor</Dependency>
            <Dependency>libXinerama</Dependency>
            <Dependency>virt-wrapper</Dependency>
            <Dependency>libvncserver</Dependency>
            <Dependency>curl</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>libpng</Dependency>
            <Dependency>python</Dependency>
            <Dependency>libxml2</Dependency>
            <Dependency>openssl</Dependency>
            <Dependency>device-mapper</Dependency>
            <Dependency>qt5-x11extras</Dependency>
            <Dependency version="current">module-virtualbox</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/etc/vbox</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib/virtualbox</Path>
            <Path fileType="library">/usr/lib/python*</Path>
            <Path fileType="data">/usr/share/virtualbox</Path>
            <Path fileType="data">/usr/share/applications</Path>
            <Path fileType="data">/usr/share/pixmaps</Path>
            <Path fileType="data">/usr/share/icons/hicolor</Path>
            <Path fileType="data">/usr/share/mime/packages</Path>
        </Files>
        <Provides>
            <COMAR script="package.py">System.Package</COMAR>
            <COMAR script="service.py">System.Service</COMAR>
        </Provides>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/bin/vboxreload">vboxreload</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/lib/udev/rules.d/60-vboxdrv.rules">60-vboxdrv.rules</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/lib/udev/rules.d/60-vboxguest.rules">60-vboxguest.rules</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <Package>
        <Name>virtualbox-guest-utils</Name>
        <PartOf>x11.driver</PartOf>
        <Summary>VirtualBox guest utilities and drivers</Summary>
        <RuntimeDependencies>
            <Dependency>pam</Dependency>
            <Dependency>libXt</Dependency>
            <Dependency>libXmu</Dependency>
            <Dependency>libXext</Dependency>
            <Dependency>libXfixes</Dependency>
            <Dependency>libXrandr</Dependency>
            <Dependency>libXdamage</Dependency>
            <Dependency>xorg-server</Dependency>
            <Dependency>libXcomposite</Dependency>
            <Dependency version="current">module-virtualbox-guest</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/etc/X11/Xsession.d</Path>
            <Path fileType="data">/lib/udev/rules.d</Path>
            <Path fileType="library">/lib/security</Path>
            <Path fileType="executable">/sbin</Path>
            <Path fileType="executable">/usr/bin/VBoxClient*</Path>
            <Path fileType="executable">/usr/bin/VBoxControl</Path>
            <Path fileType="executable">/usr/sbin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/kde/*/share/autostart</Path>
            <Path fileType="data">/usr/share/X11</Path>
            <Path fileType="library">/usr/lib/xorg/modules</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/etc/X11/Xsession.d/98-vboxclient.sh">vboxclient.sh</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <History>
        <Update release="12">
            <Date>2017-11-25</Date>
            <Version>5.2.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="11">
            <Date>2017-03-11</Date>
            <Version>5.1.14</Version>
            <Comment>Rebuild.</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="10">
            <Date>2017-03-04</Date>
            <Version>5.1.14</Version>
            <Comment>Version Bump</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="9">
            <Date>2017-01-15</Date>
            <Version>5.1.12</Version>
            <Comment>Version Bump</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="8">
            <Date>2016-12-13</Date>
            <Version>5.1.10</Version>
            <Comment>Version Bump</Comment>
            <Name>Ergün Salman</Name>
            <Email>poyraz76@pisilinux.org</Email>
        </Update>
        <Update release="7">
            <Date>2016-09-23</Date>
            <Version>5.1.6</Version>
            <Comment>Version Bump</Comment>
            <Name>Ergün Salman</Name>
            <Email>poyraz76@pisilinux.org</Email>
        </Update>
        <Update release="6">
            <Date>2016-08-17</Date>
            <Version>5.1.4</Version>
            <Comment>Version Bump</Comment>
            <Name>Ergün Salman</Name>
            <Email>poyraz76@pisilinux.org</Email>
        </Update>
        <Update release="5">
            <Date>2016-07-22</Date>
            <Version>5.1.2</Version>
            <Comment>Version Bump</Comment>
            <Name>Ergün Salman</Name>
            <Email>poyraz76@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2016-07-17</Date>
            <Version>5.1.0</Version>
            <Comment>Version Bump</Comment>
            <Name>Ergün Salman</Name>
            <Email>poyraz76@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-17</Date>
            <Version>5.1.0b</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-12</Date>
            <Version>5.0.12</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
       <Update release="1">
            <Date>2015-08-09</Date>
            <Version>5.0.12</Version>
            <Comment>First release</Comment>
            <Name>ali algul</Name>
            <Email>alialgul@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
